package com.training.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.training.food.pojo.Examine;
import com.training.food.pojo.Recordinfo;
import com.training.food.pojo.Slaughter;
import com.training.food.pojo.User;
import org.springframework.stereotype.Service;
import java.util.List;
@Service
public interface RecordService extends IService<Recordinfo> {
    boolean hasRecord(Recordinfo recordinfo);
    void record(Recordinfo recordinfo);
    List<Recordinfo>lists(List<Slaughter> Slaughters);
    void updateRecode(Recordinfo recordinfo);
    Recordinfo select(String username);
    List<User>selectUsers();
    List<Recordinfo>selectRecords();
    List<Recordinfo>records(List<Examine>examines);
}
